package com.eml.service.entity;

import java.util.Date;

public class Orders {
    private Integer orderId;//订单编号
    private Integer money;//商品价格
    private Date payTime;//支付时间
    private Date finishTime;//完成时间

    public Orders() {
    }

    public Orders(Integer money, Date payTime, Date finishTime) {
        this.money = money;
        this.payTime = payTime;
        this.finishTime = finishTime;
    }

    public Orders(Integer orderId, Integer money, Date payTime, Date finishTime) {
        this.orderId = orderId;
        this.money = money;
        this.payTime = payTime;
        this.finishTime = finishTime;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "orderId=" + orderId +
                ", money=" + money +
                ", payTime=" + payTime +
                ", finishTime=" + finishTime +
                '}';
    }
}
